package dobest.ray.com.jiongjiong.logicCache.cacheBaseLogic;

import android.content.Context;

import com.dobest.ray.corelibs.logic.BaseLogic;

import dobest.ray.com.jiongjiong.bean.BaseData;
import dobest.ray.com.jiongjiong.constants.Urls;
import dobest.ray.com.jiongjiong.logicCache.BaseManagerCache;


public class ActionManager extends BaseManagerCache {


    /**
     * 获取自测数据
     *
     * @param c
     * @param uid
     * @param uploadType
     * @param downloadType
     * @param valueL
     * @param valueR
     * @param l
     */
    public void getSelfTestVisionData(Context c, String uid, String uploadType, String downloadType, String valueL, String valueR,
                                      BaseLogic.NListener<BaseData> l) {

        logic.edit(c).addParam("uid", uid).addParam("uploadType", uploadType).addParam("downloadType", downloadType).addParam("valueL", valueL).addParam("valueR", valueR)
                .setUrl(Urls.GET_VISION_SELF_TEST_DATA).setListener(l)
                .setBaseClass(BaseData.class);
        logic.doPost();
    }


}
